package com.lemon.bean.stageBean;

import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.HBox;

import static  com.lemon.beanManager.BeanContainer.beanFactory;

public class PlayInitializer {

    @FXML
    public Button min;
    @FXML
    public Button max;
    @FXML
    public Button close;
    @FXML
    private Button delete;

    @FXML
    private Button enlarge;

    @FXML
    private Button frontPic;

    @FXML
    private Button nextPic;

    @FXML
    private Button play;

    @FXML
    private Button rotate;

    @FXML
    private Button shrink;

    @FXML
    private HBox playBox;

    @FXML
    private AnchorPane playPane;

    public void initialize(){

        beanFactory.setBean("secondMin",min);
        beanFactory.setBean("secondMax",max);
        beanFactory.setBean("secondClose",close);
        beanFactory.setBean("secondNextPic",nextPic);
        beanFactory.setBean("secondFrontPic",frontPic);
        beanFactory.setBean("secondPlayBox",playBox);
        beanFactory.setBean("secondPlay",play);
        beanFactory.setBean("secondEnlarge",enlarge);
        beanFactory.setBean("secondShrink",shrink);
    }



}
